package Components 
{
	import nl.jorisdormans.phantom2D.audio.SfxrSound;
	import nl.jorisdormans.phantom2D.thirdparty.sfxr.SfxrSynth;
	
	/**
	 * ...
	 * @author Sebastiaan Seegers
	 */
	public class Sounds 
	{
		public static var chopperSound : SfxrSynth = new SfxrSynth();
		public static var explosionSound: SfxrSynth = new SfxrSynth();
		public static var powerupSound : SfxrSynth = new SfxrSynth();
		
		
		public static function init() : void
		{
			chopperSound.params.setSettingsString("0,,0.8506,0.139,0.0224,0.6793,,-0.6051,0.0347,0.0087,-0.7778,0.5837,0.0639,0.0405,-0.0197,0.296,-0.001,-0.0544,0.9008,0.5379,0.6544,0.2637,-0.0451,0.41");
			chopperSound.cacheSound();
			
			explosionSound.params.setSettingsString("3,,0.3458,0.67,0.44,0.16,,,,,,,,,,0.5606,-0.1582,-0.0509,1,,,,,0.5");
			explosionSound.cacheSound();
			
			powerupSound.params.setSettingsString("0,,0.3586,,0.1955,0.403,,0.1665,,0.2079,0.4031,,,0.5579,,,,,1,,,,,0.5");
			powerupSound.cacheSound();
		
		}
		
	} 

}